<?php if (!defined('THINK_PATH')) exit();?><!-- 
author : zhangrui 
email  : admin@zhangrui.me
-->
<!doctype html>
<html class="no-js fixed-layout">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>约健后台管理</title>
  <meta name="description" content="这是一个 index 页面">
  <meta name="keywords" content="index">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="/yuejian/YueJian-XiaoXueQiXiangMu/Public/i/abc.png">
  <link rel="apple-touch-icon-precomposed" href="/yuejian/YueJian-XiaoXueQiXiangMu/Public/i/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" href="/yuejian/YueJian-XiaoXueQiXiangMu/Public/css/amazeui.min.css"/>
  <link rel="stylesheet" href="/yuejian/YueJian-XiaoXueQiXiangMu/Public/css/admin.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

<header class="am-topbar am-topbar-inverse admin-header">
  <div class="am-topbar-brand">
    <img src="/yuejian/YueJian-XiaoXueQiXiangMu/Public/i/abc.png" height="40" width="40" />
    <strong>约健</strong> <small>后台管理模板</small>
  </div>

  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

  <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
      <li><a href="javascript:;"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning">5</span></a></li>
      <li class="am-dropdown" data-am-dropdown>
        <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
          <span class="am-icon-users"></span> 管理员 <span class="am-icon-caret-down"></span>
        </a>
        <ul class="am-dropdown-content">
          <li><a href="#"><span class="am-icon-user"></span> 资料</a></li>
          <li><a href="#"><span class="am-icon-cog"></span> 设置</a></li>
          <li><a href="#"><span class="am-icon-power-off"></span> 退出</a></li>
        </ul>
      </li>
      <li class="am-hide-sm-only"><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>
    </ul>
  </div>
</header>

<div class="am-cf admin-main">


  <!-- sidebar start -->
<!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <ul class="am-list admin-sidebar-list">
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-file"></span> 大师 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
            <li><a href="<?php echo U('Master/index');?>" class="am-cf"><span class="am-icon-check"></span> 大师详情列表<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
            <li><a href="<?php echo U('Master/add');?>"><span class="am-icon-puzzle-piece"></span> 添加大师</a></li>
            <li><a href="<?php echo U('MasterVideo/index');?>"><span class="am-icon-th"></span> 视频详情列表<span class="am-badge am-badge-secondary am-margin-right am-fr">24</span></a></li>

            <li><a href="<?php echo U('MasterVideo/add');?>"><span class="am-icon-calendar"></span> 添加视频</a></li>
            <li><a href="<?php echo U('Question/index');?>"><span class="am-icon-th"></span> 问答详情列表<span class="am-badge am-badge-secondary am-margin-right am-fr">24</span></a></li>
          </ul>
        </li>
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-file"></span> 俱乐部 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
            <li><a href="<?php echo U('Club/index');?>" class="am-cf"><span class="am-icon-check"></span> 俱乐部详情列表<span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span></a></li>
            <li><a href="<?php echo U('Club/add');?>"><span class="am-icon-puzzle-piece"></span> 添加俱乐部</a></li>
            <li><a href="<?php echo U('ClubVideo/index');?>"><span class="am-icon-th"></span> 视频详情列表<span class="am-badge am-badge-secondary am-margin-right am-fr">24</span></a></li>

            <li><a href="<?php echo U('ClubVideo/add');?>"><span class="am-icon-calendar"></span> 添加视频</a></li>
            <li><a href="<?php echo U('Class/index');?>"><span class="am-icon-th"></span> 课程详情列表<span class="am-badge am-badge-secondary am-margin-right am-fr">24</span></a></li>
            <li><a href="<?php echo U('Class/add');?>"><span class="am-icon-calendar"></span> 添加课程</a></li>

          </ul>
        </li>
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-file"></span> 晒图管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
            <li><a href="<?php echo U('Home/Shows/index');?>"><span class="am-icon-calendar"></span> 晒图列表 </a></li>
            <li><a href="#"><span class="am-icon-th"></span> 晒图评论管理</a></li>
            <li><a href="<?php echo U('Home/Showjson/index');?>"><span class="am-icon-th"></span> 晒图相关接口/a></li>
          </ul>
        </li>
        <li><a href="admin-form.html"><span class="am-icon-pencil-square-o"></span> 表单</a></li>
        <li><a href="#"><span class="am-icon-sign-out"></span> 注销</a></li>
      </ul>

      <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-bookmark"></span> 公告</p>
          <p>时光静好，与君语；细水流年，与君同。—— Amaze UI</p>
        </div>
      </div>

      <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-tag"></span> wiki</p>
          <p>Welcome to the Amaze UI wiki!</p>
        </div>
      </div>
    </div>
  </div>
  <!-- sidebar end -->
  <div class="admin-content">
    <div class="admin-content-body">
  <!-- sidebar end -->

  <!-- content start -->
  <div class="am-cf am-padding">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">课程</strong> / <small>添加课程</small></div>
  </div>

      <hr/>

      <div class="am-g">
        <div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">
          <div class="am-panel am-panel-default">
            <div class="am-panel-bd">
              <div class="am-g">
                <div class="am-u-md-4">
                  <img class="am-img-circle am-img-thumbnail" src="/yuejian/YueJian-XiaoXueQiXiangMu/Public/Upload/2.jpg" alt="ceshi"/>
                </div>
                <div class="am-u-md-8">
                  <p>教室图片 </p>
                </div>
              </div>
            </div>
          </div>

        </div>
        <div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4">
          <form class="am-form am-form-horizontal" action="<?php echo U('doAdd');?>" method="post" enctype="multipart/form-data">
            <div class="am-form-group">
              <label for="user-name" class="am-u-sm-3 am-form-label">课程名 / Name</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input name="class_name"   >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-intro" class="am-u-sm-3 am-form-label">课程简介 / Intro</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input name="class_intro"   >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-adress" class="am-u-sm-3 am-form-label">上课地点 / Adress</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input name="class_address"   >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-phone" class="am-u-sm-3 am-form-label">电话 / Telephone</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input name="class_phone"   >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-adress" class="am-u-sm-3 am-form-label">创建时间 / Adress</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-5 am-form-label">
                  <input name="creat_time" type="datetime-local" value="<?php echo ($data["creat_time"]); ?>" >
                </label>
              </div>
            </div>


            <div class="am-form-group">
              <label for="user-adress" class="am-u-sm-3 am-form-label">上课时间 / Adress</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-5 am-form-label">
                  <input name="class_time" type="datetime-local" value="<?php echo ($data["class_time"]); ?>" >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-phone" class="am-u-sm-3 am-form-label">价格 / Telephone</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input name="price"   >
                </label>
              </div>
            </div>

            <div class="am-form-group">
              <label for="user-email" class="am-u-sm-3 am-form-label">教室图片 / E-mail</label>
              <div class="am-u-sm-9">
                <label for="user-name" class="am-u-sm-3 am-form-label">
                  <input type="file" name="pic" >
                </label>
              </div>
            </div>



            <div class="am-form-group">
              <div class="am-u-sm-9 am-u-sm-push-3">
                <input type="submit" class="am-btn am-btn-primary"  value="添加" >
                <input type="reset" class="am-btn am-btn-primary"  value="重置" >
              </div>
            </div>
          </form>
        </div>
      </div>

  <!-- content end -->
    </div>

    <footer class="admin-content-footer">
      <hr>
      <p class="am-padding-left">© 约健阿普普.</p>
    </footer>
  </div>
</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/yuejian/YueJian-XiaoXueQiXiangMu/Public/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="/yuejian/YueJian-XiaoXueQiXiangMu/Public/js/amazeui.min.js"></script>
<script src="/yuejian/YueJian-XiaoXueQiXiangMu/Public/js/app.js"></script>
</body>
</html>